#pragma once
#include "stdafx.h"
#include "ResourceManager.h"
#include "Mesh.h"
#include "Texture.h"

class Texture;
class ResourceManager;
class Component;

class MeshLoader :public Component
{
private:
	MeshLoader(const MeshLoader&);
	MeshLoader();
public:
	typedef boost::shared_ptr<MeshLoader> sPtr;
	MeshLoader(ResourceManager*);
	~MeshLoader(void);

	void AddedToObject();
	void Load(const Message&);
	void Load(string);
private:
	ResourceManager* m_resourceManager;
};

